#C38EFF#C38EFF

#C38EFF is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.2% C 0.165 H 304.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#C38EFF
RGBrgb(195, 142, 255)
HSLhsl(268, 100%, 78%)
HSVhsv(268, 44%, 100%)
CMYKcmyk(23.5%, 44.3%, 0%, 0%)
CIE-LABlab(68.14, 41.54, -48.88)
CIE-LCHlch(68.14, 64.15, 310.36°)
OKLaboklab(74.23% 0.0932 -0.1366)
OKLCHoklch(74.23% 0.165 304.3)
XYZxyz(50.2249, 38.1683, 99.3096)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EFF #CAFF8E
analogous
#8E91FF #C38EFF #FC8EFF
triadic
#C38EFF #FFC38E #8EFFC3
tetradic
#C38EFF #FF8E91 #CAFF8E #8EFFFC
square
#C38EFF #FF8E91 #CAFF8E #8EFFFC
split-complementary
#C38EFF #FFFC8E #91FF8E
monochromatic
#8214FF #A351FF #C38EFF #E3CBFF #EFE0FF

Accessibility & contrast

On white

2.43
#C38EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#C38EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EFF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EFF#FFFFFF#000000##000000
##C38EFF1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A5FF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#B9A1BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c38eff;
/* rgb */ color: rgb(195, 142, 255);
/* oklch */ color: oklch(74.2% 0.165 304.3);
Tailwind
colors: {
  custom: {
    50: '#d7b0ff',
    500: '#c38eff',
    950: '#000000',
  },
}
SCSS
$custom: #c38eff;
$custom-light: #d7b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c38eff",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 268.142,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.16533,
    "h": 304.3
  },
  "luminance": 0.38168
}

Semantic roles & 50–950 ramp

primary
#C38EFF
secondary
#E7F7D4
accent
#E6007A
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C38EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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