#C38EF7#C38EF7

#C38EF7 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.8% C 0.156 H 306.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C38EF7
RGBrgb(195, 142, 247)
HSLhsl(270, 87%, 76%)
HSVhsv(270, 43%, 97%)
CMYKcmyk(21.1%, 42.5%, 0%, 3.1%)
CIE-LABlab(67.77, 39.73, -45.10)
CIE-LCHlch(67.77, 60.10, 311.38°)
OKLaboklab(73.83% 0.092 -0.1256)
OKLCHoklch(73.83% 0.156 306.2)
XYZxyz(48.9638, 37.6639, 92.6680)
Luminance0.3766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C38EF7 #C2F78E
analogous
#8F8EF7 #C38EF7 #F78EF6
triadic
#C38EF7 #F7C38E #8EF7C3
tetradic
#C38EF7 #F78F8E #C2F78E #8EF6F7
square
#C38EF7 #F78F8E #C2F78E #8EF6F7
split-complementary
#C38EF7 #F6F78E #8EF78F
monochromatic
#861CEF #A555F3 #C38EF7 #E1C7FB #F0E2FD

Accessibility & contrast

On white

2.46
#C38EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C38EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C38EF7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C38EF7#FFFFFF#000000##000000
##C38EF71.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#81A6F4
Tritanopia (blue-blind)
#BB9FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c38ef7;
/* rgb */ color: rgb(195, 142, 247);
/* oklch */ color: oklch(73.8% 0.156 306.2);
Tailwind
colors: {
  custom: {
    50: '#d7b0fa',
    500: '#c38ef7',
    950: '#000000',
  },
}
SCSS
$custom: #c38ef7;
$custom-light: #d7b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c38ef7",
  "rgb": {
    "r": 195,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 270.286,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73829,
    "c": 0.15566,
    "h": 306.2
  },
  "luminance": 0.37664
}

Semantic roles & 50–950 ramp

primary
#C38EF7
secondary
#E5F5D6
accent
#E30272
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C38EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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