#C18EFA#C18EFA

#C18EFA is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.8% C 0.159 H 304.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C18EFA
RGBrgb(193, 142, 250)
HSLhsl(268, 92%, 77%)
HSVhsv(268, 43%, 98%)
CMYKcmyk(22.8%, 43.2%, 0%, 2%)
CIE-LABlab(67.71, 39.85, -46.84)
CIE-LCHlch(67.71, 61.50, 310.39°)
OKLaboklab(73.79% 0.0901 -0.1307)
OKLCHoklch(73.79% 0.159 304.6)
XYZxyz(48.9170, 37.5858, 95.1017)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18EFA #C7FA8E
analogous
#8E91FA #C18EFA #F78EFA
triadic
#C18EFA #FAC18E #8EFAC1
tetradic
#C18EFA #FA8E91 #C7FA8E #8EFAF7
square
#C18EFA #FA8E91 #C7FA8E #8EFAF7
split-complementary
#C18EFA #FAF78E #91FA8E
monochromatic
#8119F5 #A153F7 #C18EFA #E1C9FD #EFE2FE

Accessibility & contrast

On white

2.47
#C18EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#C18EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18EFA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18EFA#FFFFFF#000000##000000
##C18EFA1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#B8A0B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18efa;
/* rgb */ color: rgb(193, 142, 250);
/* oklch */ color: oklch(73.8% 0.159 304.6);
Tailwind
colors: {
  custom: {
    50: '#d6b0fc',
    500: '#c18efa',
    950: '#000000',
  },
}
SCSS
$custom: #c18efa;
$custom-light: #d6b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c18efa",
  "rgb": {
    "r": 193,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 268.333,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.15874,
    "h": 304.6
  },
  "luminance": 0.37586
}

Semantic roles & 50–950 ramp

primary
#C18EFA
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18EFA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C18EFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva